package com.spzx.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spzx.common.core.web.domain.BaseEntity;
import com.spzx.product.api.domain.ProductSku;
import com.spzx.product.api.domain.ProductSkuVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户收藏表
 * </p>
 *
 * @author atguigu
 * @since 2024-11-18
 */
@Getter
@Setter
@TableName("user_collect")
@Schema(description = "用户收藏表")
public class UserCollect extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "商品skuID")
    private Long skuId;

//    @Schema(description = "商品sku详情列表")
//    @TableField(exist = false)
//    private ProductSkuVo productSkuVo;
//    @Schema(description = "商品sku详情列表")
//    @TableField(exist = false)
//    private ProductSku productSku;

}
